package com.brush.common.core.domain.resp;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.util.List;

/**
 * 部门树
 *
 * @author tonneyyy
 */
@Getter
@Setter
@ApiModel(value = "部门树响应结构")
public class DeptTreeResp {

    @ApiModelProperty(value = "部门id")
    private Long deptId;

    @ApiModelProperty(value = "部门名称")
    private String label;

    @ApiModelProperty(value = "子部门")
    private List<DeptTreeResp> children;
}
